package de.justphil.tcg.tcgserver.commons.domain.wrappers;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

@XmlRootElement
@XmlAccessorType(XmlAccessType.NONE)
public class NewGamePlayerOneRes {

	@XmlElement
	private String otp;
	
	@XmlElement
	private int pollInterval;
	
	public NewGamePlayerOneRes() {
		// JAXB conformity
	}
	
	public NewGamePlayerOneRes(String otp, int pollInterval) {
		super();
		this.otp = otp;
		this.pollInterval = pollInterval;
	}
	
	public String getOneTimePassword() {
		return otp;
	}

	public int getPollInterval() {
		return pollInterval;
	}
}
